package ink.tiptop.dto.req.auth;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 用于用户登录的信息(ZjfAuthUserInfoEntity)实体类
 *
 * @author makejava
 * @since 2020-06-21 20:35:17
 */
@Getter
@Setter
@ApiModel("更新用户密码对象")
public class ChangePasswordZjfAuthUserInfoRequest implements Serializable {
    private static final long serialVersionUID = -54660741485225984L;
    /**
     * 用户名
     */
    @JsonProperty("USER")
    @ApiModelProperty(example="",required=true,value = "用户名")
    @NotNull(message = "用户不能为空")
    private String user;
    /**
     * 用户密码(MD5加密) - 旧
     */
    @JsonProperty("PASSWORD")
    @ApiModelProperty(example="",required=true,value = "MD5密码")
    @NotNull(message = "密码不能为空")
    private String pass;

    /**
     * 用户密码(MD5加密) - 新
     */
    @JsonProperty("NEW_PASSWORD")
    @ApiModelProperty(example="",required=true,value = "MD5密码")
    @NotNull(message = "新密码不能为空")
    private String newPass;

    /**
     * 用户密码(MD5加密) - 确认
     */
    @JsonProperty("CONFIRM_PASSWORD")
    @ApiModelProperty(example="",required=true,value = "MD5密码")
    @NotNull(message = "确认密码不能为空")
    private String confirmPass;




}